let uu = document.querySelector('ul')
console.log(uu);
fetch("http://chst.vip:1234/api/getsitenav")
        .then(body => body.json())
         .then(res => {
            res = res.result;
            console.log(res);
            let html =''
            res.forEach(item => {
                html += `
                <li>
    <a href="${item.navHref}">
        <img src="${item.navImg}" alt=""><span>${item.navTitle}</span>
    </a>
</li>
                `
            })
            
            uu.innerHTML=html
            
         })